package com.ddstation.onsitelaw.model.auditmodel;

import java.util.List;

/**
 * 
 * @author zhangdifeng 
 * 存储id 和name的bean
 * @date 2017年5月4日
 */
public class BaseBean {
	public BaseBean() {}
	public BaseBean(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	protected int id;
	protected String name;
	protected Integer genderLimit; // @1：仅限男性 @2：仅限女性 @null：不限
	private List<BaseBean> subBeans; // 2级显示时，使用
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<BaseBean> getSubBeans() {
		return subBeans;
	}
	public void setSubBeans(List<BaseBean> subBeans) {
		this.subBeans = subBeans;
	}
	public Integer getGenderLimit() {
		return genderLimit;
	}
	public void setGenderLimit(Integer genderLimit) {
		this.genderLimit = genderLimit;
	}
	@Override
	public String toString() {
		return "BaseBean [id=" + id + ", name=" + name + ", genderLimit=" + genderLimit + ", subBeans=" + subBeans
				+ "]";
	}
}
